package com.md.api.common.annotation;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.TYPE})  
@Retention(RetentionPolicy.RUNTIME) 
@Repeatable(SysOptLogs.class)
public @interface SysOptLog {

	String value();
	
	Type type();

	String arg();
	
	enum Type{
		
		ADD(1),DELETE(2),UPDATE(3);
		
		Integer value;

		private Type(Integer value) {
			this.value = value;
		}

		public Integer getValue() {
			return value;
		}
		
	}
}
